GUI Help > Menus > getMenuItemChecked

getMenuItemChecked
bool checked=getMenuItemChecked(handle menu, int item)

Description:
Retrieves the checked/unchecked status of a menu item.

Return Value:
0 if the item is unchecked, 1 if the item is checked.

Parameters:
menu Handle of a menu
item Number of the menu item you want to examine, this is the number you assigned to the item with addMenuItem
Remarks:


See Also:


Example:
(Note: You will need to include the GUI constants file for this example to work)